package com.kkb.projectauth.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 初心
 * @date 2021/4/14 16:18
 */

@Data
@EqualsAndHashCode
public class UserLoginRegister implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "用户唯一标识符", required = true)
    private Long id;

    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @ApiModelProperty(value = "用户密码", required = true)
    private String password;

    @ApiModelProperty(value = "用户手机号", required = true)
    private String phone;

    @ApiModelProperty(value = "软删除标记", required = true)
    private byte isDeleted;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required = true)
    private Date updateTime;

    @ApiModelProperty(value = "乐观锁", required = true)
    private int revision;

}
